package it.sisisoftware.jogmobile;

import android.app.Activity;
import android.os.Bundle;
import android.text.Html;
import android.text.method.LinkMovementMethod;
import android.widget.TextView;

public class Helpcomandivocali extends Activity {

	
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.helpcomandivocali);
	    TextView textView = (TextView) findViewById(R.id.linksisi);
	    textView.setMovementMethod(LinkMovementMethod.getInstance());
	    textView.setText(Html.fromHtml("<a href=\"http://www.sisisoftware.it/\">Sul nostro portale puoi trovare alcuni tutorial per l'uso della nostra app</a>"));
	}
	
	
	
	
}






/*
package it.sisisoftware.jogmobile;

import java.util.Locale;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.speech.tts.TextToSpeech;
import android.speech.tts.TextToSpeech.OnInitListener;

public class Helpcomandivocali extends Activity implements OnInitListener {
	// Called when the activity is first created. 
/*
	private TextToSpeech mTts;
	int MY_DATA_CHECK_CODE = 0;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.main);
		Intent checkIntent = new Intent();
		checkIntent.setAction(TextToSpeech.Engine.ACTION_CHECK_TTS_DATA);
		startActivityForResult(checkIntent, MY_DATA_CHECK_CODE);
		mTts = new TextToSpeech(this, this);
	}

	@Override
	public void onInit(int arg0) {
		// TODO Auto-generated method stub
		String myText1 = "Breve introduzione a comandi vocali";
		String myText2 = "Ad esempio comandi per l'estratto conto, Estratto conto Rossi Mario.";
		String myText3 = "Per altri esempi cercate tutorial sul sito ufficiale sisi";
		mTts.setLanguage(Locale.ITALIAN);
		mTts.speak(myText1, TextToSpeech.QUEUE_FLUSH, null);
		mTts.speak(myText2, TextToSpeech.QUEUE_ADD, null);
		mTts.speak(myText3, TextToSpeech.QUEUE_ADD, null);
	}
}
*/